package com.dailyblue.java.project.power.service.impl;

import com.dailyblue.java.project.power.mapper.RolesMapper;
import com.dailyblue.java.project.power.service.RolesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RolesServiceImpl implements RolesService {
    @Resource
    private RolesMapper rolesMapper;

    @Override
    public int checkRoleHasPermission(int rid, String url) {
        return rolesMapper.checkRoleHasPermission(rid, url);
    }
}
